package com.chendx.store.order.feign;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.seckill.dto.SeckillOrderDto;
import com.chendx.model.seckill.vo.SeckillOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * Created by chendx on 2022/4/22.
 */
@FeignClient("store-seckill")
public interface SeckillFeign {

    @PostMapping("/api/order/loadSeckill")
    public ResponseResult loadSeckillOrder(@RequestBody SeckillOrderDto dto) ;
}
